package com.intelligentcar.springboot.service;


import com.intelligentcar.springboot.bean.News;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface NewsService {

    List<News> LookLook(News news);

    List<News> LookaddTime(@Param(value = "addTime")String addTime);

    //展示所有通新闻知
    List<News> Looknews();
    //查询总条数
    int selectNews();
    //修改公告信息
    int update(News news);
    //删除公告
    int delete(long id);
    //增加公告
    int add(News news);

}
